/**
 * lodash 和fp的map区别
 */
const fp = require("lodash/fp");
const _ = require("lodash");
const arr = ["1","22","8"];
console.log(fp.map(parseInt, arr));
console.log(_.map(arr, parseInt)); //会输出不正常，因为parseInt会被传3个参数，parseInt会认为第二参数是进制数
